package com.itheima.rpc.client.boot;


import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Configuration
public class RpcClientBootStrap {

    @Resource
    private RpcClientRun rpcClientRun;

    @PostConstruct
    public void initRpcServer() {
        rpcClientRun.run();
    }
}
